package com.zjxny.service;

import java.util.List;

import com.zjxny.exception.TrafficException;
import com.zjxny.model.CarInfo;
import com.zjxny.vo.TrafficDetailVO;
import com.zjxny.vo.TrafficVO;

public interface TrafficService {
	
	/**
	 * 获取车辆信息
	 * @param accountId
	 * @return
	 */
	List<TrafficVO> getTrafficList(CarInfo carInfo)  throws TrafficException;
	
	/**
	 * 获取违章详情
	 * @param carInfo
	 * @return
	 */
	TrafficDetailVO getTrafficDetail(CarInfo carInfo,String xh)  throws TrafficException;

	/**
	 * 获取营运车违章详情
	 * @param carInfo
	 * @return
	 */
	List<TrafficVO> getOperationTrafficList(CarInfo carInfo) throws TrafficException;
	
	List<TrafficVO> getBizTrafficList(CarInfo carInfo) throws TrafficException;

	/**
	 * 获取营运车违章详情
	 * @param carInfo
	 * @param xh
	 * @return
	 */
	TrafficDetailVO getOperationTrafficDetail(CarInfo carInfo,String xh,String cjjg)  throws TrafficException;
	
	/**
	 * 业务类型车违章详情
	 * @param carInfo
	 * @param xh
	 * @param cjjg
	 * @return
	 * @throws TrafficException
	 */
	TrafficDetailVO getBizTrafficDetail(CarInfo carInfo,String xh)  throws TrafficException;

	TrafficDetailVO getTrafficDetailOrigin(String cookieStr, String domain, String hphm, String xh);

	/**
	 * 营运车的违章详情获取
	 * 
	 * @param cookieStr
	 * @param domain
	 * @param hphm
	 * @param xh
	 * @param cjjg
	 * @return
	 */
	TrafficDetailVO getOperationTrafficDetailOrigin(String cookieStr, String domain, String hphm, String xh,
			String cjjg);

	TrafficDetailVO getBizTrafficDetailOrigin(String cookieStr, String domain, String hphm, String carInfoXh,
			String trafficXh);

	String downloadPhotos(String trafficXh, String photoStr);
}